{ 
	"page":"1", 
	"total":1, 
	"records":"%{$users|@count}", 
	"rows": [
		%{foreach from=$users item=user name=userIterator}
			%{assign var=status value=$user->getActive()}
			{"id":"%{$user->getId()}","cell": ["%{$user->getId()}","%{$user->getEmail()}","%{$user->getName()}","%{$user->getPhone()}","","%{trn key="status_$status"}"]}	%{if not $smarty.foreach.userIterator.last},%{/if}
		%{/foreach}
	]		

} 